package com.inmobi.androidsdk.impl.imai;

import com.inmobi.androidsdk.impl.net.HttpRequestCallback;
import com.inmobi.androidsdk.impl.net.HttpRequestCallback.ResponseStatus;
import com.inmobi.commons.internal.Log;

final class a
  implements HttpRequestCallback
{
  public void notifyResult(int paramInt, Object paramObject)
  {
    Log.internal("InMobiAndroidSDK_3.7.0", "Got PING IN WEBVIEW callback. Status: " + paramInt + "webview: " + paramObject);
    if (paramObject == null);
    while (!(paramObject instanceof HttpRequestCallback.ResponseStatus))
      return;
    HttpRequestCallback.ResponseStatus localResponseStatus = (HttpRequestCallback.ResponseStatus)paramObject;
    if (paramInt == 0)
    {
      IMAIUtility.firePingInWebViewSuccessful(localResponseStatus.getWebviewRef(), localResponseStatus.getClickUrl());
      return;
    }
    IMAIUtility.fireErrorEvent(localResponseStatus.getWebviewRef(), "IMAI Ping in webview failed", "pingInWebview", localResponseStatus.getClickUrl());
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.inmobi.androidsdk.impl.imai.a
 * JD-Core Version:    0.6.2
 */